package com.itheima.utils;

import java.util.HashMap;
import java.util.Map;

public class CategoryUtil {
    private static Map<String, String> categoryList;
    static {
        categoryList = new HashMap<>();
        categoryList.put("java","java");
        categoryList.put("C/C++","c");
        categoryList.put("PHP","php");
        categoryList.put("Python","python");
        categoryList.put("C#","c");
        categoryList.put("后端开发工程师","houduan");
        categoryList.put("前端开发工程师","qianduan");
        categoryList.put("小程序开发","xiaochengxu");
        categoryList.put("运维工程师","yunwei");
        categoryList.put("人工智能","rengong");
        categoryList.put("数据工程师","shuju");
        categoryList.put("移动开发","yidong");
        categoryList.put("算法工程师","suanfa");
        categoryList.put("total","total");
    }
    public static String getCategory(String category) {
        return categoryList.get(category);
    }
}
